package com.tianlh.entity;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;

/**
 *
 * @author wb-tianlihui
 * @date 2017/11/7
 */
@Data
public class Book implements Serializable {

    private static final long serialVersionUID = 8142591825380557288L;

    @JSONField(name="bookId_test")
    private Long bookId;

    @JSONField(name="name_test")
    private String name;

    @JSONField(name="number_test")
    private Integer number;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}

